home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
151-175
/
scopedisk157
/
dsize
/
dsize.doc
< prev
next >
Wrap
Text File
|
1995-03-19
|
3KB
|
79 lines
----------------------------------------------------------------------------
Gregg *** ************ *** *** ************
*********** ************ *** *** ************
*** *** *** **** *** *** ***
*** *** *** ***** *** *** ***
********** ************ ******** *** *** ***
*** ***** ************ *** ****** *** ***
*** **** *** *** ***** *** ***
*** *** *** *** **** *** ***
*** *** ************ *** *** ************
*** *** ************ *** *** *** Software
____________________________________________________________________________
DSize - Written by Gregg A. Reno 9/26/90
805A East Lancaster Ave.
Downingtown, Pa 19335
* Feel free to do anything you want with this program. Almost all of
the code was borrowed from the program named TREE by David A. Dette
----------------------------------------------------------------------------
Ever need to know how much space is used up in directories? Where
is all of your hard disk space going? DSize will do this easily.
This command is designed to take an AmigaDOS disk or directory and
display it and its sub-directories to the screen. It will also display the
disk space used by each directory, including all of the files and
directories below it.
Syntax: DSize <directory> <-max_levels>
where
directory = a AmigaDOS directory or disk name
max_leves = the maximum levels of the tree to display.
For example, -1 will just display the directory
specified. -2 will display the directory specified
and any directories directly below it. No matter what level
number you specify, it will still look at all files
in all of the subdirectories.
Examples:
1) You are running out of space on your hard disk and you want to clean
it up, but don't know where to start. This command will show you
at a very high level, how your hard disk space is distributed. You
will see the space used by DH0, followed the space used by each of
the subdirectories in DH0. The total of the subdirectory sizes will
total the size of the whole drive.
DSIZE DH0: -2
2) You want to see how much space is used by your instruments, songs,
etc. in your music directory:
DSIZE DH0:music
3) To look at how the space is used on a floppy drive, you might type:
DSIZE DF0:
The output may be redirected to a file or printer by using the standard
CLI redirection system, but the redirection must follow the command and
preceed any directory or level options. For example, to redirect the
output to a file, you might type:
DSIZE >myout.lis DH0:
To send the output to a printer, do this:
DSIZE >prt: DH0:
******************************* N O T E *********************************
If you specify the name of a hard disk, like DH0:, it will look at
every file on that hard disk. So be patient, it might take a while.
******************************* N O T E *********************************